﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CVSS.Client.CIQS.Entity.StatAlarm
{
    #region 违法类型基类实体
    /// <summary>
    /// 为按车辆类型进行统计的基类实体
    /// </summary>
    public class Alarm_Ety : BaseInfo_Ety
    {
        private int robalarm;
        /// <summary>
        /// 盗抢报警记录数
        /// </summary>
        public int ROBALARM
        {
            get { return robalarm; }
            set { robalarm = value; }
        }

        private int accident;
        /// <summary>
        /// 车祸报警记录数
        /// </summary>
        public int ACCIDENTALARM
        {
            get { return accident; }
            set { accident = value; }
        }
    }
    #endregion

    #region 按盗抢报警统计
    public class RobAlarm_Ety:Vehicle_Ety
    {
        private int robalarm;
        /// <summary>
        /// 盗抢报警
        /// </summary>
        public int ROBALARM
        {
            get { return robalarm; }
            set { robalarm = value; }
        }
    }
    #endregion

    #region 按车祸报警统计
    public class AccidentAlarm_Ety:Vehicle_Ety
    {
        private int accidentalarm;
        /// <summary>
        /// 车祸报警
        /// </summary>
        public int ACCIDENTALARM
        {
            get { return accidentalarm; }
            set { accidentalarm = value; }
        }
    }
    #endregion

    #region 按报警类型进行统计
    public class AlarmAll_Ety : Vehicle_Ety
    {
        private int robalarmnum;
        /// <summary>
        /// 盗抢报警
        /// </summary>
        public int ROBALARMNUM
        {
            get { return robalarmnum; }
            set { robalarmnum = value; }
        }

        private int accidentalarm;
        /// <summary>
        /// 车祸报警
        /// </summary>
        public int ACCIDENTALARMNUM
        {
            get { return accidentalarm; }
            set { accidentalarm = value; }
        }

        private int totalalarmnum;
        /// <summary>
        /// 报警总数
        /// </summary>
        public int TOTALALARMNUM
        {
            get { return totalalarmnum; }
            set { totalalarmnum = value; }
        }
    }
    #endregion

    #region 按客车类型进行统计
    /// <summary>
    /// 按客车类型进行统计
    /// </summary>
    public class StatByBus_Ety : Alarm_Ety
    {
        private int busnum;
        /// <summary>
        /// 客车违法记录数
        /// </summary>
        public int BusNum
        {
            get { return busnum; }
            set { busnum = value; }
        }
    }
    #endregion

    #region 按小车类型进行统计
    /// <summary>
    /// 按小车类型进行统计
    /// </summary>
    public class StatByCar_Ety : Alarm_Ety
    {
        private int carnum;
        /// <summary>
        /// 小车违法记录数
        /// </summary>
        public int CarNum
        {
            get { return carnum; }
            set { carnum = value; }
        }
    }
    #endregion

    #region 按货车类型进行统计
    /// <summary>
    /// 按货车类型进行统计
    /// </summary>
    public class StatByTruck_Ety : Alarm_Ety
    {

        private int trucknum;
        /// <summary>
        /// 货车违法记录数
        /// </summary>
        public int TruckNum
        {
            get { return trucknum; }
            set { trucknum = value; }
        }

    }
    #endregion

    #region 按车辆类型进行统计
    /// <summary>
    /// 按车辆类型进行统计
    /// </summary>
    public class StatByVehicle_Ety : Alarm_Ety
    {
        private int busnum;
        /// <summary>
        /// 客车违法记录数
        /// </summary>
        public int BusNum
        {
            get { return busnum; }
            set { busnum = value; }
        }

        private int carnum;
        /// <summary>
        /// 小车违法记录数
        /// </summary>
        public int CarNum
        {
            get { return carnum; }
            set { carnum = value; }
        }

        private int trucknum;
        /// <summary>
        /// 货车违法记录数
        /// </summary>
        public int TruckNum
        {
            get { return trucknum; }
            set { trucknum = value; }
        }

        private int totalnum;
        /// <summary>
        /// 违章总数
        /// </summary>
        public int TotalNum
        {
            get { return totalnum; }
            set { totalnum = value; }
        }
    }
    #endregion
}
